<template>
  <el-checkbox-group v-model="form.stCd">
    <el-checkbox v-for="item in allStationList" :label="item.stName" name="form.stCd"></el-checkbox>
  </el-checkbox-group>
</template>

<script>
  import {
    getAllStation
  } from "@/api/equipmentmanagement/equipment";

  export default {

    methods: {
      /** 查询所有接入测站列表 */
      getAllStation() {
        getAllStation().then(response => {
          this.allStationList = response.data;
        });
      }
    },
    data() {
      return {
        form: {
          stCd: [],
        },
        allStationList: [],
      };
    }
  };
</script>
